package com.demo.meidianapp.utils;

/**
 * 网络异常
 */
public class HttpException {
    private int errorCode;
    private String errorMessage;
    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    @Override
    public String toString() {
        return "HttpException{" + "errorCode=" + errorCode + ", errorMessage='" + errorMessage +
                '\'' + '}';
    }
}
